home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / Commander Sets / 4D Speech Pack / 4D Speech Pack.rsrc / TEXT_18373_†SP Voice reset.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  1.1 KB  |  28 lines

  1. SP Voice reset (reference) -> err
  2.  
  3. reference   integer       specifys the channel you want to reset. Use the
  4.                                     reference number obtained from the
  5.                                     SP Open Voice function.
  6. err             integer       returns the error which occured. 
  7.                                     A value of zero indicates no error occured. See 
  8.                                     below for a list of possible errors.
  9.  
  10. Resets the specified speech channel to the default settings.
  11.  
  12. This function resets all values to the default state, as if you just opened the voice and haven't changed the rate or pitch. It also resets the input mode and other settings you may have changed using embedded speech commands.
  13.  
  14. Example:
  15.   $err := SP Voice reset ($speechref)
  16.  
  17. Possible errors:
  18.         0  No Error
  19.       -4  Speech Pack can not be used (Speech Mgr not available)
  20.     -50  Parameter error (inside external, not necessarily the
  21.             parameters you pass)
  22.   -231  Feature not implemented on synthesizer
  23. -3000  Invalid SpeechChannel parameter, probably invalid reference
  24.             number
  25.  
  26.  
  27.  
  28.